#include "matrix.h"

//namespace pafos
//{
	namespace Math
	{
		Matrix3x3::Matrix3x3() : identity (true)
		{
			setIdentity(); // ?
		}

		Matrix3x3::Matrix3x3(Matrix3x3 &copy) : identity (false) 
		{
			rows[0] = copy.rows[0];
			rows[1] = copy.rows[1];
			rows[2] = copy.rows[2];
		}
		
		Matrix3x3::Matrix3x3(const Vector3 &row0, 
							 const Vector3 &row1, 
							 const Vector3 &row2) : identity (false)
		{
			rows[0] = row0;
			rows[1] = row1;
			rows[2] = row2;
		}


		Matrix4x4::Matrix4x4() //: identity (false)
		{
			setIdentity();
		}

		Matrix4x4::Matrix4x4(Matrix4x4 &copy) //: identity (false)
		{
			rows[0] = copy.rows[0];
			rows[1] = copy.rows[1];
			rows[2] = copy.rows[2];
			rows[3] = copy.rows[3];
		}

		Matrix4x4::Matrix4x4(const Vector4 &row0, 
							 const Vector4 &row1, 
							 const Vector4 &row2, 
							 const Vector4 &row3) //: identity (false)
		{
			rows[0] = row0;
			rows[1] = row1;
			rows[2] = row2;
			rows[3] = row3;
		}
		
	} // namespace pafos
//} //namespace pafos